<?php

return [
    [
        'group' => '基本信息',
        'name' => 'xcbaseurl',
        'title' => '网站域名',
        'type' => 'string',
        'content' => [],
        'value' => 'http://www.example.com/',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'group' => '基本信息',
        'name' => 'xcthreadjob',
        'title' => '<b>邮件/短信发送模式</b><a href="/addons/csmitsm/xc_tools/guideThreadJob" target="_blank" title="开启方式"> <i class="fa fa-question-circle-o"></i></a>',
        'type' => 'radio',
        'content' => [
            'N' => '同步',
            'Y' => '异步(推荐)',
        ],
        'value' => 'N',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],      
    [
        'group' => '工作流配置',
        'name' => 'xcnotify_emailactivity',
        'title' => '<b>工作流邮件通知</b>',
        'type' => 'radio',
        'content' => [
            'Y' => '启用',
            'N' => '不启用',
        ],
        'value' => 'N',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'group' => '工作流配置',
        'visible' => 'xcnotify_emailactivity=Y',
        'name' => 'xcflow_emailtpl',
        'title' => '工作流邮件模板',
        'type' => 'array',
        'content' => [],
        'value' => [
            '工作流待审核' => '流程待处理:[[title]]<BR/>点击链接地址审核:[[url]]',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'group' => '工作流配置',
        'name' => 'xcnotify_mobileactivity',
        'title' => '<b>工作流短信通知</b>',
        'type' => 'radio',
        'content' => [
            'Y' => '启用',
            'N' => '不启用',
        ],
        'value' => 'N',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],    
    [
        'group' => '工作流配置',
        'visible' => 'xcnotify_mobileactivity=Y',
        'name' => 'xcflow_mobiletpl',
        'title' => '工作流短信模板',
        'type' => 'array',
        'content' => [],
        'value' => [
            '工作流待审核' => 'SMS_123456789',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
];
